home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / mac / morstran.hqx / MorseTrainer US-1.1.1 / Library Example.rsrc / TEXT_10209_Creating an Alphabet.txt < prev    next >
Text File  |  1993-11-10  |  2KB  |  53 lines

  1. Creating new Alphabets for MorseTrainer
  2.  
  3.  
  4. If you want to create a new alphabet for MorseTrainer you must use ResEdit, a program usually used by developers only. An alphabet definition is contained in a "CWAD"-resource. The name of the resource is also the name of the alphabet. The ID of the resource should be 1000+country number (7 for Sweden) if the alphabet is localized for a specific country. MorseTrainer uses the alphabet corresponding to the system used. That is if a Swedish system is used the CWAD resource with ID=1007 will be used as default (if nothing else has been selected). If no localized alphabet can be found the international CWAD will be used having ID=999. If you create an alphabet which is not intended for any special country give the resource an ID above 2000. The CWAD resource consists of plain text where each line describes a Morse character.
  5.  
  6. Example:
  7.  
  8. A ΓÇó-
  9. B -ΓÇóΓÇóΓÇó
  10.  
  11. The first character is the ASCII character and the sequence of "-" (DAH) and "ΓÇó" (DIT) describes the corresponding Morse code. Two more fields can be used if needed:
  12.  
  13. A ΓÇó- "This is A" "A"
  14. B -ΓÇóΓÇóΓÇó "This is B" "B"
  15.  
  16. When a third string exists (within " ") the fourth must also exist even if it is empty. The third string explains the meaning of the character and the fourth string explains the keys to press (Ex: option-cmd-Q).
  17.  
  18. It's OK to write:
  19.  
  20. A ΓÇó-
  21. A ΓÇó- "" ""
  22. A ΓÇó- "" "A"
  23. A ΓÇó- "This is A" ""
  24. A ΓÇó- "This is A" "A"
  25.  
  26. It's NOT OK to write:
  27.  
  28. A ΓÇó- "This is A"
  29. A ΓÇó- ""
  30.  
  31. Before you start to experiment with the CWAD resource take a look at the existing alphabets!
  32.  
  33.  
  34.  
  35.  
  36. Please send questions, comments, suggestion and nice postcards to:
  37.  
  38. Lars Sundstr├╢m
  39. Department of Applied Electronics
  40. Lunds University
  41. P.O. Box 118
  42. 221 00  LUND
  43. Sweden
  44.  
  45. phone: +46 46 10 95 13
  46. fax: +46 46 12 99 48
  47.  
  48. email: sund@tde.lth.se
  49.  
  50.  
  51.  
  52.  
  53.